﻿<ContentDialog
    x:Class="PuzzleModern.Phone.PresetDialog"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:PuzzleModern"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Title="GAME TYPE"
    PrimaryButtonText="cancel"  
    SecondaryButtonText="custom..."
    Style="{StaticResource ScrollingContentDialogStyle}"
    PrimaryButtonClick="ContentDialog_PrimaryButtonClick"
    SecondaryButtonClick="ContentDialog_SecondaryButtonClick">

    <ListView
        x:Name="PresetListView"
        IsItemClickEnabled="True"
        ItemClick="PresetListView_ItemClick" Margin="0,0,0,50">
        <ListView.ItemTemplate>
            <DataTemplate>
                <TextBlock Margin="0,0,0,27.5" Text="{Binding Name}" Style="{ThemeResource ListViewItemTextBlockStyle}" Loaded="TextBlock_Loaded"/>
            </DataTemplate>
        </ListView.ItemTemplate>
    </ListView>
</ContentDialog>
